<?php


namespace app\api\validate;


use think\Validate;

class ConfirmOrderValidate extends Validate
{
    protected $rule = [
        'teacher_course_id' => 'require',
        'classdata' => 'require',
    ];

    protected $message = [
        'teacher_course_id.require' => '课程ID不能为空',
        'class_id.require' => '授课形式不能为空',
//        'num.require' => '预约课次最少为1',
//        'num.number' => '预约课次最少为1'
    ];
}